﻿namespace Digitalmes.Application.Scada.Commands;

/// <summary>
/// 进站请求命令。
/// </summary>
public record InboundCommand : IRequest<ScadaResult>
{
    /// <summary>
    /// 线体编号
    /// </summary>
    [NotNull]
    public string? LineCode { get; init; }

    /// <summary>
    /// 工位编号
    /// </summary>
    [NotNull]
    public string? WsCode { get; init; }

    /// <summary>
    /// SN 码
    /// </summary>
    [NotNull]
    public string? SN { get; init; }

    /// <summary>
    /// 产品代码
    /// </summary>
    [NotNull]
    public string? ProductCode { get; init; }

    /// <summary>
    /// RFID 号码
    /// </summary>
    public string? Rfid { get; init; }
}
